<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/10/29
  Time: 9:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<%
    String err = request.getParameter("errMsg");
    if(err!=null && !err.equals("")){
        out.print("<font color='red'>"+err+"</font>");
    }
%>
<body>
<form action="loginCheck.jsp" method="post">
    <table>
        <tr>
            <td>用户名：</td>
            <td><input type="text" name="loginName"></td>
        </tr>
        <tr>
            <td>密码：</td>
            <td><input type="password" name="pwd"></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="登录">
                <input type="reset" value="取消">
            </td>

        </tr>
    </table>

</form>

</body>
</html>
